package itesm.coler.models;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement 
public class Message implements Serializable{

	private int messageId;
	private String messageText;
	private String messageKind;
	private String messageTypeId;
	private String messageClassif;
	private boolean active;
	
	//Constructors
		public Message()
		{
		
		}
		
		public Message(int messageId, String messageText, String messageKind,String messageTypeId, String messageClassif, boolean active)
		{
			this.setMessageId(messageId);
			this.setMessageText(messageText);
			this.setMessageKind(messageKind);
			this.setMessageTypeId(messageTypeId);
			this.setMessageClassif(messageClassif);
			this.setActive(active);
		}

		public int getMessageId() {
			return messageId;
		}

		public void setMessageId(int messageId) {
			this.messageId = messageId;
		}

		public String getMessageText() {
			return messageText;
		}

		public void setMessageText(String messageText) {
			this.messageText = messageText;
		}

		public String getMessageKind() {
			return messageKind;
		}

		public void setMessageKind(String messageKind) {
			this.messageKind = messageKind;
		}

		public String getMessageTypeId() {
			return messageTypeId;
		}

		public void setMessageTypeId(String messageTypeId) {
			this.messageTypeId = messageTypeId;
		}

		public String getMessageClassif() {
			return messageClassif;
		}

		public void setMessageClassif(String messageClassif) {
			this.messageClassif = messageClassif;
		}

		public boolean isActive() {
			return active;
		}

		public void setActive(boolean active) {
			this.active = active;
		}
		
		
}
